home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / application / webbrowser / IE / ie6-file-detection.txt < prev    next >
Text File  |  2005-02-12  |  2KB  |  61 lines

  1. Affected Software : Microsoft Internet Explorer
  2. Vulnerability : Local File Detection
  3.  
  4. Tested On : MS IE 6.0 SP1, Win2K SP4, [up-to-date]
  5. according to windowsupdate.com
  6.  
  7. Discovered by : Gregory R. Panakkal
  8.  
  9.  
  10. Overview
  11. ========
  12. This security vulnerability in Internet Explorer
  13. allows remote attackers to discover what software is
  14. installed on the remote computer, by testing for the
  15. existence of certain files. 
  16.  
  17. The "sysimage://" protocol is used to display the
  18. appropriate icon corresponding to a  file path when
  19. viewed from MSIE. The default behaviour is such, that
  20. if a existing file-path is given as input, it displays
  21. the approritate icon [as described above], but if the
  22. file-path supplied doesn't exists, it loads the icon
  23. of a folder instead [ie, it gives out no error].
  24.  
  25. But as always, there is a way to bypass it.. and let
  26. us differentiate between a valid path and an invalid
  27. one, and thus using the onLoad and onError event
  28. handlers, the 'local file detection' is a piece of
  29. cake.
  30.  
  31. There isn't much of a documentation on the net
  32. regarding the "sysimage://", atleast google didn't
  33. show up anything useful :(
  34.  
  35.  
  36.  
  37. Proof Of Concept
  38. ================
  39.  
  40. <img src="sysimage://C:\WINNT\Notepad.exe,666"
  41. onLoad="document.write('<b>Cannot Find File!</b>');"
  42. onError="document.write('<b>File Exists!</b>');">
  43.  
  44.  
  45. Demo
  46. ====
  47.  
  48. A demonstration is available at the following URL.
  49.  
  50. http://crapware.lx.ro/junkcode/security/ie-sp1-sysimage-local-file-existence.htm
  51.  
  52.  
  53. Greetz to
  54. =========
  55. Liu Die Yu, Rakesh Balasunder
  56.  
  57.  
  58. rgds,
  59. Gregory R. Panakkal 
  60. (aka JunkCode / Viper)
  61.